

#pragma once

namespace FlameEngine
{
	template<class T> void SafeDelete(T*& pVal)
	{
		delete pVal;
		pVal = NULL;
	}

	template<class T> void SafeDeleteArray(T*& pVal)
	{
		delete[] pVal;
		pVal = NULL;
	}
}